package com.hxbd.gxsec_data.service;

import com.alibaba.fastjson.JSONObject;
import com.hxbd.gxsec_data.pojo.FileDO;
import com.hxbd.gxsec_data.pojo.ResourceDO;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

public interface ResourceService {

    FileDO uploadFiles(MultipartFile file);

    boolean saveAddResouce(Map<String,Object> param);

    List<JSONObject> getAllResource();

    boolean deleteresource(String rsourceId,String fileName);

    Integer countTheNumberOfPageVisits(String id);

    List<JSONObject> searchResource(String name);

}
